package me.xinping.libs.utils

import android.os.Handler
import android.os.Looper

/**
 * .
 * <p>
 * Date 2018/12/5
 * @author fanxinping_cd@keruyun.com
 */
object ContextUtils {
    fun runOnUIThread(action: () -> Unit) {
        Handler(Looper.getMainLooper()).post { action.invoke() }
    }
}